<%@ page language="java" contentType="text/html; charset=UTF-8"
     pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core"  prefix="c" %>
<!DOCTYPE html>
<html>
<body>

				<div class="ftitle">Project Information</div>
				<form id="fm" method="post">
					<div class="fitem">
					    <label for="flowId">Flow Id:</label> 
					    <input  id="slectFlowId" class="easyui-combobox" name="flowId" />  
					           
					</div>
					<div class="fitem">
						<label><a href="#" class="easyui-linkbutton" style="width:auto" iconCls="icon-tip" onclick="selectProject()" >Select</a></label> 
					</div>
					<div class="fitem">
						<label>Project ID:</label> 
						<input name="projectId" class="easyui-validatebox" required="true">
					</div>
					<div class="fitem">
						<label>Project Name:</label> 
						<input name="name" class="easyui-validatebox" required="true">
					</div>
					<div class="fitem">
						<label>Version:</label> 
						<input name="version" class="easyui-validatebox" required="true">
					</div>
					<div class="fitem">
						<label>Start Time</label> 
						<input name="startTime" type="text" data-options="" class="easyui-datetimebox" required style="width:150px">  
					</div>
					<div class="fitem">
						<label>End Time</label> 
						<input name="endTime" type="text" data-options="" class="easyui-datetimebox" required style="width:150px">  
					</div>
					
					<div class="fitem">
						<label>Comment</label> 
						<textarea name="comment" cols="50" rows="3"></textarea>  
					</div>
					 
					<input name="userId" class="easyui-validatebox" value="${sessionScope.currentUser.userID}" type="text">

				</form>
				<div id="dlg-buttons">
					<a href="#" class="easyui-linkbutton" iconCls="icon-ok" onclick="saveProject()">Save</a> 
		    	</div>
		
			
			
		

	<div id="dlgSelectProject"  class="easyui-dialog"  style="width:400px;height:280px;padding:10px 20px" closed="true" buttons="#dlgSelectProject-buttons" > 
		<table id="projectList" class="easyui-datagrid" title="Project Selection" 
            data-options="url:'getProjectList'" singleSelect="true">  
	        <thead>  
	            <tr>  
	                <th data-options="field:'projectID'" width='50'>Item ID</th>  
	                <th data-options="field:'projectName'" width='50'>Product</th>  
	            </tr>  
	        </thead>  
    	</table>             
	</div>
    <div id="dlgSelectProject-buttons">  
        <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-ok" onclick="confirmSelectProject()">Save</a>  
        <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-cancel" onclick="javascript:$('#dlgSelectProject').dialog('close')">Cancel</a>  
    </div> 
	

</body>
</html>

